﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using IService.DataDLL.Utility;

namespace IService.Admin
{
    public partial class Site : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!base.IsPostBack)
            {
                object adminSession = Session["AdminSession"];
                if (adminSession == null)
                {
                    string LoginPage = StringUtil.GetAppConfigString("LoginPage");
                    Response.Redirect(LoginPage);
                }
            }
        }
    }
}